projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a1692
)
(ange-ftp-start-process): Copy the environment.
author
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:00:36 +0000
(20:00 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Mon, 29 Dec 2003 20:00:36 +0000
(20:00 +0000)
lisp/net/ange-ftp.el
patch
|
blob
|
history
diff --git
a/lisp/net/ange-ftp.el
b/lisp/net/ange-ftp.el
index dc3b5a62da94b29e6a8b542beda454fa71bcae6b..0277bd0aabc0cd2a6ba71d2e59572063df52a3e4 100644
(file)
--- a/
lisp/net/ange-ftp.el
+++ b/
lisp/net/ange-ftp.el
@@
-1918,7
+1918,8
@@
on the gateway machine to do the ftp instead."
;; but that doesn't work: ftp never responds.
;; Can anyone find a fix for that?
(let ((process-connection-type t)
- (process-environment process-environment)
+ ;; Copy this so we don't alter it permanently.
+ (process-environment (copy-tree process-environment))
(buffer (get-buffer-create name)))
(save-excursion
(set-buffer buffer)